<div class="bjui-pageContent">
    <form action="{:U('save_shop_leve')}" data-callback="dialogFormCall" data-toggle="validate" data-alertmsg="false" class="dialogForm">
        <input type="hidden" name="id" value="{$va.id}"/>
        <div class="form-group">
            <label class="x100">分类名称:</label>
            <input type="text" name="name" data-rule="required" value="{$va.name}"/>
        </div>
        <!-- <div class="form-group">
            <label class="x100">成为会员等级方式:</label>
            <select name="method" data-toggle="selectpicker">
                <option value="">--请选择--</option>
                <option value="1" <if condition="$va['method'] eq '1'">selected</if>>直接消费</option>
                <option value="2" <if condition="$va['method'] eq '2'">selected</if>>累计消费</option>
            </select>
        </div> -->
        <div class="form-group">
            <label class="x100">排序号:</label>
            <input type="text" name="sort" data-rule="required" value="{$va.sort}" maxlength="10"/>
            <span class="text-warning">数字越大，越排在前面</span>
        </div>
        <p>
			<label class="x100">状态:</label>
			<input type="radio" name="status" value="0" data-toggle="icheck" data-label="开启" <if condition="$va.status eq '0' or $va eq null">checked="checked"</if> />
			<input type="radio" name="status" value="1" data-toggle="icheck" data-label="关闭" <if condition="$va.status eq '1'">checked="checked"</if>/>
		</p>
    </form>
</div>
<include file="Common/footer" ftype="save" />